package org.example.enitiy;

import java.util.Date;

/**
 * @author ：smart card King
 * @version : 1.0
 * @date : 2023/5/3 14:39
 */

public class User  implements Comparable {
    private Integer id;
    private String  name;
    private Integer  sex;
    private String boity;

    public User(Integer id, String name, Integer sex, String boity) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.boity = boity;
    }

    public User() {

    }


    @Override
    public String toString() {
        return "enitiy{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                ", boity=" + boity +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getBoity() {
        return boity;
    }

    public void setBoity(String boity) {
        this.boity = boity;
    }



    @Override
    public int compareTo(Object o) {
        return 0;
    }
}
